package com.tianyi.sfzy1.mapper;

import com.tianyi.sfzy1.domain.Consultationreview;

/**
* @author Lenovo
* @description 针对表【consultationreview(咨询评价表)】的数据库操作Mapper
* @createDate 2025-01-02 11:46:53
* @Entity com.tianyi.sfzy1.domain.Consultationreview
*/
public interface ConsultationreviewMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Consultationreview record);

    int insertSelective(Consultationreview record);

    Consultationreview selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Consultationreview record);

    int updateByPrimaryKey(Consultationreview record);

    //通过成员id和咨询id以及星级内容增加评价
    int insertRw(int memberId,int appointmentId,int stars,String content);

}
